-- GENERATED SPELL FOR [Arugal's Voidwalker] --


function spell0_4627(pUnit, Event) --@Dark Offering,Heal--
pUnit:FullCastSpellOnTarget(7154,pUnit)
pUnit:RegisterEvent('Sorts_4627', 0, 1)
end

function Sorts_4627(pUnit, Event)
local choix_sorts_4627 = math.random(0, 0)
if choix_sorts_4627 == 0 then
pUnit:RegisterEvent('spell0_4627', 1, 1)
end
end

function mob4627_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_4627', math.random(1500, 3000), 1)
end

function mob4627_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4627_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob4627_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(4627, 1, 'mob4627_Action')
RegisterUnitEvent(4627, 2, 'mob4627_Leave')
RegisterUnitEvent(4627, 3, 'mob4627_Kill')
RegisterUnitEvent(4627, 4, 'mob4627_Die')
